/**
 * Created by liguangsong on 16/8/3.
 */
import React from 'react'
import GameListView from './gameListView.js'

var style = {
    position: 'relative',
    left: '0',
    width: '100%',
    background: 'white',
    height: '1380px',
    top: '134px'
};

var GameInfoView = React.createClass({

    getInitialState() {
        //$.ajax({
        //    url: 'http://data.nba.com/data/5s/json/cms/noseason/scoreboard/20160302/games.json',
        //    dataType: 'json',
        //    //async:false,
        //    success: function(result) {
        //        console.log(result);
        //    }
        //});

        return null;
    },

    render() {
        return (
            <div style={ style }>
                <GameListView teamColor="rgb(246, 192, 14)"/>
                <GameListView teamColor="green" />
                <GameListView teamColor="blue" />
            </div>
        )
    }
});

export default GameInfoView;